var _EsdDynamicTransformationFunction = function($){
/**
* 命名空间定义
*/
var _EsdDynamicTransformationScript = {};
_EsdDynamicTransformationScript.navBlock = {}; // 定义区域跳转类
_EsdDynamicTransformationScript.navBlock.selector = {};
/**
* 文本链接 a
*/
//保证所有a标签都有href
$("a").each(function(){

var aHref = this.href;
if( aHref=="" || aHref==undefined ){
$(this).attr("href","javascript:void(0)");
}

//给a标签加title
var aTitle = this.title;
var aText = this.text;

if( aTitle=="" || aTitle==undefined ){
if( aText!="" || aText!=undefined ){
$(this).attr("title",$.trim(aText));
}
}

});


//select下的option添加title
$("option").each(function(){
var oTitle = this.title;
var oText = this.text;
if( oTitle=="" || oTitle==undefined ){
if( oText!="" || oText!=undefined ){
$(this).attr("title",$.trim(oText));
}
}
});


$("#textfield").attr("title","请输入关键字");
$("#textfield").attr("placeholder","请输入关键字");
$("#textfield").next().attr("title","搜索");

//为目录页的翻页添加title
if( $(".CurrChnlCls").length > 0 ){
$('#num').attr({'title':'页数', 'placeholder':'页数'});
$('.zt10 input[type="submit"]').attr({'title':'跳转按钮', 'placeholder':'跳转按钮'});
}

/**
* 图片处理片段
*/


$('img[src="./jrzx/tpxw/201909/W020190919396782044298.jpg"]').attr('title','吉林省政府新闻办召开金融稳增长、深改革、促开放、防风险专题工作新闻发布会').attr('alt','吉林省政府新闻办召开金融稳增长、深改革、促开放、防风险专题工作新闻发布会');$('img[src="//dcs.conac.cn/image/red.png"]').attr('title','党政机关').attr('alt','党政机关');$('img[src="./zxzt/201912/W020191209609627861155.jpg"]').attr('title','媒体关注吉林省金融业发展亮点').attr('alt','媒体关注吉林省金融业发展亮点');
$('img[src="./images/xxgkml-20190429.png"]').attr('title','信息公开目录').attr('alt','信息公开目录');$('img[src="./zxzt/201606/W020191210310961631038.jpg"]').attr('title','白山松水金潮涌 齐心合力助三农').attr('alt','白山松水金潮涌 齐心合力助三农');$('img[src="../../images/jdts2-20190429.png"]').attr('title','监督投诉').attr('alt','监督投诉');$('img[src="./jrzx/tpxw/201911/W020191122614156544537.jpg"]').attr('title','吉林省地方金融监督管理局积极推动上海证券交易所企业上市服务吉林省工作站落地').attr('alt','吉林省地方金融监督管理局积极推动上海证券交易所企业上市服务吉林省工作站落地');$('img[src="./jrzx/tpxw/201910/W020191010327108772365.jpg"]').attr('title','10月9日，吉林省委副书记、省长景俊海在长春会见韩国韩亚金融集团副会长咸泳周，并见证长春市政府与韩亚银行签署全面战略合作协议').attr('alt','10月9日，吉林省委副书记、省长景俊海在长春会见韩国韩亚金融集团副会长咸泳周，并见证长春市政府与韩亚银行签署全面战略合作协议');$('img[src="./kzgn/dbtp/images/P020190507585359754228.png"]').attr('title','吉林省地方金融监督管理局').attr('alt','吉林省地方金融监督管理局');$('img[src="./zxzt/201906/W020191210310688047980.jpg"]').attr('title','扶贫小额信贷政策问答').attr('alt','扶贫小额信贷政策问答');
$('img[src="./images/ldxx-20190429.png"]').attr('title','领导信箱').attr('alt','领导信箱');$('img[src="./zxzt/201906/W020191210310688047980.jpg"]').attr('title','扶贫小额信贷政策问答').attr('alt','扶贫小额信贷政策问答');$('img[src="./zxzt/201606/W020191210310961631038.jpg"]').attr('title','白山松水金潮涌 齐心合力助三农').attr('alt','白山松水金潮涌 齐心合力助三农');$('img[src="./images/ztzl-20190429.png"]').attr('title','专题专栏').attr('alt','专题专栏');$('img[src="./images/icon_ba2018.png"]').attr('title','吉公网安备').attr('alt','吉公网安备');$('img[src="./kzgn/syzt/201912/W020191205524152522651.jpg"]').attr('title','党建工作').attr('alt','党建工作');
$('img[src="./images/jytabl-20190429.png"]').attr('title','建议提案办理').attr('alt','建议提案办理');
$('img[src="./images/jrft-20190429.png"]').attr('title','金融访谈').attr('alt','金融访谈');$('img[src="./zxzt/201904/W020191210310821585604.jpg"]').attr('title','扫黑除恶吉林亮剑').attr('alt','扫黑除恶吉林亮剑');$('img[src="./zxzt/201912/W020191209610129574981.jpg"]').attr('title','党建工作').attr('alt','党建工作');$('img[src="./zxzt/201912/W020191209610129574981.jpg"]').attr('title','党建工作').attr('alt','党建工作');
$('img[src="./images/ysqgk-20190429.png"]').attr('title','依申请公开').attr('alt','依申请公开');$('img[src="./images/W020190508576589927757.png"]').attr('title','吉林省融资服务线上线下一体化对接平台').attr('alt','吉林省融资服务线上线下一体化对接平台');$('img[src="./images/ztzl2-20190429.png"]').attr('title','融资平台').attr('alt','融资平台');$('img[src="./jrzx/tpxw/201909/W020190920733844677448.jpg"]').attr('title','吉林省地方金融监督管理局局长胡斌到吉林省政务大厅综合窗口调研').attr('alt','吉林省地方金融监督管理局局长胡斌到吉林省政务大厅综合窗口调研');
$('img[src="./images/dczx-20190429.png"]').attr('title','调查征集').attr('alt','调查征集');$('img[src="./kzgn/syzt/201904/W020190507510520584039.jpg"]').attr('title','扫黑除恶 吉林亮剑').attr('alt','扫黑除恶 吉林亮剑');$('img[src="./zxzt/201912/W020191209609627861155.jpg"]').attr('title','媒体关注吉林省金融业发展亮点').attr('alt','媒体关注吉林省金融业发展亮点');
$('img[src="./images/xxgknb-20190429.png"]').attr('title','信息公开年报').attr('alt','信息公开年报');
$('img[src="./images/jdts-20190429.png"]').attr('title','监督投诉').attr('alt','监督投诉');
$('img[src="./images/zryqlqd-20190429.png"]').attr('title','责任与权力清单').attr('alt','责任与权力清单');
$('img[src="./images/xxgkzn-20190429.png"]').attr('title','信息公开指南').attr('alt','信息公开指南');$('img[src="./zxzt/201907/W020191210310561376453.jpg"]').attr('title','吉林省惠企惠民政策手册').attr('alt','吉林省惠企惠民政策手册');$('img[src="./kzgn/dbtp/images/P020190509344020592452.jpg"]').attr('title','微信公众号').attr('alt','微信公众号');$('img[src="../../images/bszn2-20190606.png"]').attr('title','办事服务').attr('alt','办事服务');$('img[src="../../images/btn_ldxx_qrn20160627.jpg"]').attr('title','领导信箱').attr('alt','领导信箱');$('img[src="../../images/btn_jrft_qrn20160627.jpg"]').attr('title','金融访谈').attr('alt','金融访谈');$('img[src="./jrzx/tpxw/201912/W020191230506314151259.jpg"]').attr('title','吉林省地方金融监督管理局召开脱贫攻坚领导小组会议专题研究部署脱贫攻坚工作任务').attr('alt','吉林省地方金融监督管理局召开脱贫攻坚领导小组会议专题研究部署脱贫攻坚工作任务');$('img[src="../../images/btn_dczj_qrn20160627.jpg"]').attr('title','调查征集').attr('alt','调查征集');$('img[src="../../images/btn_zxzx_qrn20160627.jpg"]').attr('title','在线咨询').attr('alt','在线咨询');$('img[src="./kzgn/syzt/201606/W020191210315816086200.jpg"]').attr('title','聚焦吉林省农村金融综合改革').attr('alt','聚焦吉林省农村金融综合改革');
$('img[src="./images/rsxx-20190429.png"]').attr('title','人事信息').attr('alt','人事信息');$('img[src="./zxzt/201907/W020191210310561376453.jpg"]').attr('title','吉林省惠企惠民政策手册').attr('alt','吉林省惠企惠民政策手册');
$('img[src="./images/zxzx-20190429.png"]').attr('title','在线咨询').attr('alt','在线咨询');$('img[src="./kzgn/syzt/201912/W020191209604534855919.jpg"]').attr('title','媒体关注吉林省金融业发展亮点').attr('alt','媒体关注吉林省金融业发展亮点');
$('img[src="./images/bszn-20190429.png"]').attr('title','办事服务').attr('alt','办事服务');
$('img[src="./images/czxxgk-20190429.png"]').attr('title','财政信息公开').attr('alt','财政信息公开');$('img[src="./jrzx/tpxw/201912/W020191225303337797964.jpg"]').attr('title','吉林省委副书记、省长景俊海在省内部分金融机构调研时强调  深化金融供给侧结构性改革 提升金融服务实体经济水平').attr('alt','吉林省委副书记、省长景俊海在省内部分金融机构调研时强调  深化金融供给侧结构性改革 提升金融服务实体经济水平');
$('img[src="http://121.43.68.40/exposure/images/jiucuo.png?v=2200000026"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./zxzt/201904/W020191210310821585604.jpg"]').attr('title','扫黑除恶吉林亮剑').attr('alt','扫黑除恶吉林亮剑');


//img
$("img").each(function(){
//给图片加alt/title
var imgAlt = this.alt,
imgTitle = this.title,
imgSrc = this.src,
parentText = this.parentElement.text;

if(this.alt=="" || this.alt==undefined){
if(imgTitle!="" && imgTitle!=undefined){
$(this).attr("alt",imgTitle);
}else if(parentText!="" && parentText!=undefined){
$(this).attr("alt",parentText);
}
}
if(this.title=="" || this.title==undefined){
if(imgAlt!="" && imgAlt!=undefined){
$(this).attr("title",imgAlt);
}else if(parentText!="" && parentText!=undefined){
$(this).attr("title",parentText);
}
}
})

$("img").each(function(){
if( (this.alt=="" && this.title=="")||(this.alt==undefined && this.title==undefined) ){
$(this).attr("title","图片");
$(this).attr("alt","图片");
}
})

/**
* 共通头部
*/
/**
* 主导航
*/

//头--------------对应的内容--------整个，头+内容---------第几个-----内容中的第一个a-----------上一个的所有---------上一个的内容第一个a
_EsdDynamicTransformationScript.navTabChange = function (focusObjSelector, listObjSelector, mouseEventObjSelector, keyDownNum, listElementsSelector, prevMouseEventObjSelector, prevListObjsSelector) {
var keydownName = "keydown.navKeydown_" + keyDownNum;
var keydownName2 = keydownName + "_1";
$(focusObjSelector).focus(function () {
if ($(listObjSelector).is(":hidden")) {
$(mouseEventObjSelector).mouseover();
}
$(document).bind(keydownName, function (e) {
if (e.shiftKey && e.keyCode == 9) {
if (prevMouseEventObjSelector != "") {
$(focusObjSelector).mouseout();
$(prevMouseEventObjSelector+" ul").mouseover();
$(prevListObjsSelector).last().focus();
$(document).unbind(keydownName);  // 失去焦点时解绑有问题在这解绑一次
return false;
} else{
$(focusObjSelector).mouseout();
$(document).unbind(keydownName);  // 失去焦点时解绑有问题在这解绑一次
}
} else if (e.keyCode == 9) {

}
});

});
$(focusObjSelector).blur(function () {
$(document).unbind(keydownName);
});

$(listElementsSelector).last().focus(function () {
$(document).bind(keydownName2, function (e) {
if (e.shiftKey && e.keyCode == 9) {

} else if (e.keyCode == 9) {
$(mouseEventObjSelector).mouseout();
}
});
});
$(listElementsSelector).last().blur(function () {
$(document).unbind(keydownName2);
});
};


_EsdDynamicTransformationScript.navArray = new Array();

// 导航第一个栏目
_EsdDynamicTransformationScript.nav1 = {}
_EsdDynamicTransformationScript.nav1.focusObjSelector = "#nav_all .wang-spy:eq(1) a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav1.listObjSelector = "#nav_all .wang-spy:eq(1) ul"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示
_EsdDynamicTransformationScript.nav1.mouseEventObjSelector = "#nav_all .wang-spy:eq(1)"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素
_EsdDynamicTransformationScript.nav1.keyDownNum = 1; // keydown事件标识  最好不要重复
_EsdDynamicTransformationScript.nav1.listElementsSelector = "#nav_all .wang-spy:eq(1) ul a"; // 按tab聚焦后 展示列表中a链接的选择器(展示列表中第一个a标签)
_EsdDynamicTransformationScript.nav1.prevMouseEventObjSelector = ""; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav1.prevListObjsSelector = ""; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav1);  // 放到数组里循环

// 导航第二个栏目
_EsdDynamicTransformationScript.nav2 = {}
_EsdDynamicTransformationScript.nav2.focusObjSelector = "#nav_all .wang-spy:eq(2) a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav2.listObjSelector = "#nav_all .wang-spy:eq(2) ul"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示
_EsdDynamicTransformationScript.nav2.mouseEventObjSelector = "#nav_all .wang-spy:eq(2)"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素
_EsdDynamicTransformationScript.nav2.keyDownNum = 2; // keydown事件标识  最好不要重复
_EsdDynamicTransformationScript.nav2.listElementsSelector = "#nav_all .wang-spy:eq(2) ul a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav2.prevMouseEventObjSelector = "#nav_all .wang-spy:eq(1)"; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav2.prevListObjsSelector = "#nav_all .wang-spy:eq(1) ul a"; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav2);  // 放到数组里循环

// 导航第三个栏目
_EsdDynamicTransformationScript.nav3 = {}
_EsdDynamicTransformationScript.nav3.focusObjSelector = "#nav_all .wang-spy:eq(3) a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav3.listObjSelector = "#nav_all .wang-spy:eq(3) ul"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示
_EsdDynamicTransformationScript.nav3.mouseEventObjSelector = "#nav_all .wang-spy:eq(3)"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素
_EsdDynamicTransformationScript.nav3.keyDownNum = 3; // keydown事件标识  最好不要重复
_EsdDynamicTransformationScript.nav3.listElementsSelector = "#nav_all .wang-spy:eq(3) ul a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav3.prevMouseEventObjSelector = "#nav_all .wang-spy:eq(2)"; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav3.prevListObjsSelector = "#nav_all .wang-spy:eq(2) ul a"; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav3);  // 放到数组里循环

// 导航第四个栏目
_EsdDynamicTransformationScript.nav4 = {}
_EsdDynamicTransformationScript.nav4.focusObjSelector = "#nav_all .wang-spy:eq(4) a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav4.listObjSelector = "#nav_all .wang-spy:eq(4) ul"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示
_EsdDynamicTransformationScript.nav4.mouseEventObjSelector = "#nav_all .wang-spy:eq(4)"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素
_EsdDynamicTransformationScript.nav4.keyDownNum = 4; // keydown事件标识  最好不要重复
_EsdDynamicTransformationScript.nav4.listElementsSelector = "#nav_all .wang-spy:eq(4) ul a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav4.prevMouseEventObjSelector = "#nav_all .wang-spy:eq(3)"; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav4.prevListObjsSelector = "#nav_all .wang-spy:eq(4)"; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav4);  // 放到数组里循环




for(var i=0; i<_EsdDynamicTransformationScript.navArray.length; i++){
_EsdDynamicTransformationScript.navTabChange(_EsdDynamicTransformationScript.navArray[i].focusObjSelector, _EsdDynamicTransformationScript.navArray[i].listObjSelector,
_EsdDynamicTransformationScript.navArray[i].mouseEventObjSelector, _EsdDynamicTransformationScript.navArray[i].keyDownNum, _EsdDynamicTransformationScript.navArray[i].listElementsSelector,
_EsdDynamicTransformationScript.navArray[i].prevMouseEventObjSelector, _EsdDynamicTransformationScript.navArray[i].prevListObjsSelector);
}



// 导航第五个栏目
_EsdDynamicTransformationScript.esd0Tag5 = $("#nav_all .wang-spy:eq(5) a:eq(0)");

_EsdDynamicTransformationScript.esd0Tag5.focus(function(){
$(document).bind("keydown.keydown_d5",function(e){
if(e.shiftKey && e.keyCode == 9){
//			$(document).unbind("keydown.keydown_d5");
$(_EsdDynamicTransformationScript.nav4.focusObjSelector).mouseover();
$(_EsdDynamicTransformationScript.nav4.listElementsSelector).last().focus();
return false;
}else if(e.keyCode == 9){
//			$(document).unbind("keydown.keydown_d5");
}
});
});
_EsdDynamicTransformationScript.esd0Tag5.blur(function () {
$(document).unbind("keydown.keydown_d5");
});



_EsdDynamicTransformationScript.navArrayy = new Array();


// 导航第七个栏目
_EsdDynamicTransformationScript.nav7 = {}
_EsdDynamicTransformationScript.nav7.focusObjSelector = "#nav_all .wang-spy:eq(7) a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav7.listObjSelector = "#nav_all .wang-spy:eq(7) ul"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示
_EsdDynamicTransformationScript.nav7.mouseEventObjSelector = "#nav_all .wang-spy:eq(7)"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素
_EsdDynamicTransformationScript.nav7.keyDownNum = 7; // keydown事件标识  最好不要重复
_EsdDynamicTransformationScript.nav7.listElementsSelector = "#nav_all .wang-spy:eq(7) ul a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav7.prevMouseEventObjSelector = ""; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav7.prevListObjsSelector = ""; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArrayy.push(_EsdDynamicTransformationScript.nav7);  // 放到数组里循环

// 导航第八个栏目
_EsdDynamicTransformationScript.nav8 = {}
_EsdDynamicTransformationScript.nav8.focusObjSelector = "#nav_all .wang-spy:eq(8) a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav8.listObjSelector = "#nav_all .wang-spy:eq(8) ul"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示
_EsdDynamicTransformationScript.nav8.mouseEventObjSelector = "#nav_all .wang-spy:eq(8)"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素
_EsdDynamicTransformationScript.nav8.keyDownNum = 8; // keydown事件标识  最好不要重复
_EsdDynamicTransformationScript.nav8.listElementsSelector = "#nav_all .wang-spy:eq(8) ul a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav8.prevMouseEventObjSelector = "#nav_all .wang-spy:eq(7)"; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav8.prevListObjsSelector = "#nav_all .wang-spy:eq(7) ul a"; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArrayy.push(_EsdDynamicTransformationScript.nav8);  // 放到数组里循环




for(var i=0; i<_EsdDynamicTransformationScript.navArrayy.length; i++){
_EsdDynamicTransformationScript.navTabChange(_EsdDynamicTransformationScript.navArrayy[i].focusObjSelector, _EsdDynamicTransformationScript.navArrayy[i].listObjSelector,
_EsdDynamicTransformationScript.navArrayy[i].mouseEventObjSelector, _EsdDynamicTransformationScript.navArrayy[i].keyDownNum, _EsdDynamicTransformationScript.navArrayy[i].listElementsSelector,
_EsdDynamicTransformationScript.navArrayy[i].prevMouseEventObjSelector, _EsdDynamicTransformationScript.navArrayy[i].prevListObjsSelector);
}








//导航后的第一个焦点
_EsdDynamicTransformationScript.esd0TagName0 = $(".content a:eq(0)");

_EsdDynamicTransformationScript.esd0TagName0.focus(function (e) {
$(this).bind("keydown.keydown0_1", function (e) {
if(e.shiftKey&&e.keyCode==9){
$(_EsdDynamicTransformationScript.nav8.focusObjSelector).mouseover();
$(_EsdDynamicTransformationScript.nav8.listElementsSelector).last().focus();
return false;
}else if (e.keyCode == 9) {

}
});
});
_EsdDynamicTransformationScript.esd0TagName0.blur(function () {
$(this).unbind("keydown.keydown0_1");
});





/**
* 网站所有幻灯片
*/

if(location.href=="http://jr.jl.gov.cn/" || location.href=="http://jr.jl.gov.cn/index.html"){
//首页


//	_EsdDynamicTransformationScript.slidePointIntervalsf = setInterval(function () {
//	if (      $("#D1fBt a:eq(4) i")[0] != undefined
//	       && $("#D1pic1 .fcon:eq(4) .shadow a")[0] != undefined ) {
//		clearInterval(_EsdDynamicTransformationScript.slidePointIntervalsf);

//轮播,右下角原点--鼠标点击触发情况

//轮播：只获取轮播中一个a标签。
//以文字a标签为主，图片a标签尽量不要，title不稳定

//轮播前的标签
//	 _EsdDynamicTransformationScript.num = $("#nav_all>.wang-spy:eq(8) ul li a").length-1;
_EsdDynamicTransformationScript.esdTagFrontNum1 = $("#nav_all>.wang-spy:eq(8) ul li a:eq(5)");

//文字A标签
_EsdDynamicTransformationScript.esdTagANum1 = $("#D1pic1 .fcon:eq(0) .shadow a");
_EsdDynamicTransformationScript.esdTagANum2 = $("#D1pic1 .fcon:eq(1) .shadow a");
_EsdDynamicTransformationScript.esdTagANum3 = $("#D1pic1 .fcon:eq(2) .shadow a");
_EsdDynamicTransformationScript.esdTagANum4 = $("#D1pic1 .fcon:eq(3) .shadow a");
_EsdDynamicTransformationScript.esdTagANum5 = $("#D1pic1 .fcon:eq(4) .shadow a");

//原点
_EsdDynamicTransformationScript.esdTagCircleNum1 = $("#D1fBt a:eq(0) i");
_EsdDynamicTransformationScript.esdTagCircleNum2 = $("#D1fBt a:eq(1) i");
_EsdDynamicTransformationScript.esdTagCircleNum3 = $("#D1fBt a:eq(2) i");
_EsdDynamicTransformationScript.esdTagCircleNum4 = $("#D1fBt a:eq(3) i");
_EsdDynamicTransformationScript.esdTagCircleNum5 = $("#D1fBt a:eq(4) i");

//轮播后的标签
_EsdDynamicTransformationScript.esdTagAfterNum1 = $("#tabBox1 .tabTag li:eq(0) a");


//轮播前的焦点
_EsdDynamicTransformationScript.esdTagFrontNum1.focus(function (e) {
$(document).bind("keydown.keydownSL_0", function (e) {
if(e.shiftKey&&e.keyCode==9){
$("#nav_all>.wang-spy:eq(8) ul li a:eq(4)").focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum1.click();
_EsdDynamicTransformationScript.esdTagANum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagFrontNum1.blur(function () {
$(document).unbind("keydown.keydownSL_0");
});



//第一块
_EsdDynamicTransformationScript.esdTagANum1.focus(function (e) {

//			_EsdDynamicTransformationScript.esdTagCircleNum1.click();
$(document).bind("keydown.keydownSL_1", function (e) {
if(e.shiftKey&&e.keyCode==9){
//					$(_EsdDynamicTransformationScript.nav8.focusObjSelector).mouseover();
$("#nav_all .wang-spy:eq(8) a:eq(0)").mouseover();
_EsdDynamicTransformationScript.esdTagFrontNum1.focus();

Qfast(false, 'widgets', function () {
K.tabs({
id: 'fsD1',   //焦点图包裹id
conId: "D1pic1",  //** 大图域包裹id
tabId:"D1fBt",
tabTn:"a",
conCn: '.fcon', //** 大图域配置class
auto: 1,   //自动播放 1或0
effect: 'fade',   //效果配置
eType: 'click', //** 鼠标事件
pageBt:true,//是否有按钮切换页码
bns: ['.prev', '.next'],//** 前后按钮配置class
interval: 3000  //** 停顿时间
})
})

return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum2.click();
_EsdDynamicTransformationScript.esdTagANum2.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esdTagANum1.blur(function () {
$(document).unbind("keydown.keydownSL_1");
});

//第二块
_EsdDynamicTransformationScript.esdTagANum2.focus(function (e) {

//			_EsdDynamicTransformationScript.esdTagCircleNum2.click();
$(document).bind("keydown.keydownSL_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum1.click();
_EsdDynamicTransformationScript.esdTagANum1.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum3.click();
_EsdDynamicTransformationScript.esdTagANum3.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esdTagANum2.blur(function () {
$(document).unbind("keydown.keydownSL_2");
});

//第三块
_EsdDynamicTransformationScript.esdTagANum3.focus(function (e) {

//			_EsdDynamicTransformationScript.esdTagCircleNum3.click();
$(document).bind("keydown.keydownSL_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum2.click();
_EsdDynamicTransformationScript.esdTagANum2.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum4.click();
_EsdDynamicTransformationScript.esdTagANum4.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esdTagANum3.blur(function () {
$(document).unbind("keydown.keydownSL_3");
});

//第四块
_EsdDynamicTransformationScript.esdTagANum4.focus(function (e) {
//			_EsdDynamicTransformationScript.esdTagCircleNum4.click();
$(document).bind("keydown.keydownSL_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum3.click();
_EsdDynamicTransformationScript.esdTagANum3.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum5.click();
_EsdDynamicTransformationScript.esdTagANum5.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esdTagANum4.blur(function () {
$(document).unbind("keydown.keydownSL_4");
});

//第五块
_EsdDynamicTransformationScript.esdTagANum5.focus(function (e) {

//			_EsdDynamicTransformationScript.esdTagCircleNum5.click();
$(document).bind("keydown.keydownSL_5", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum4.click();
_EsdDynamicTransformationScript.esdTagANum4.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagAfterNum1.focus();

Qfast(false, 'widgets', function () {
K.tabs({
id: 'fsD1',   //焦点图包裹id
conId: "D1pic1",  //** 大图域包裹id
tabId:"D1fBt",
tabTn:"a",
conCn: '.fcon', //** 大图域配置class
auto: 1,   //自动播放 1或0
effect: 'fade',   //效果配置
eType: 'click', //** 鼠标事件
pageBt:true,//是否有按钮切换页码
bns: ['.prev', '.next'],//** 前后按钮配置class
interval: 3000  //** 停顿时间
})
})

return false;
}
});

});
_EsdDynamicTransformationScript.esdTagANum5.blur(function () {
$(document).unbind("keydown.keydownSL_5");
});

//轮播后的焦点
_EsdDynamicTransformationScript.esdTagAfterNum1.focus(function (e) {

$(document).bind("keydown.keydownSL_6", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum5.click();
_EsdDynamicTransformationScript.esdTagANum5.focus();
return false;
}
//				else if (e.keyCode == 9) {
//
//				}
});

});
_EsdDynamicTransformationScript.esdTagAfterNum1.blur(function () {
$(document).unbind("keydown.keydownSL_6");
});

//			}
//	}, 500);

}
/**
* 二级页
*/

// -------------------------------二级页------------------------------------

if(location.href=="http://jr.jl.gov.cn/zxfw/ldxx/"){
//领导信箱
_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
clearInterval(_EsdDynamicTransformationScript.slidePointInterval);

var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
$(inputIframe).find("#frmData select").attr({placeholder:"请选择收信人",title:"请选择收信人"});
$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"信件主题",title:"信件主题"});
$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"您的姓名",title:"您的姓名"});
$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"联系方式",title:"联系方式"});
$(inputIframe).find("#frmData .xdRichTextBox").attr({placeholder:"信件内容",title:"信件内容"});

$(inputIframe).find("#SubmitButton").attr("title","提交");
$(inputIframe).find("#ResetButton").attr("title","重置");

}
}, 500);
}

if(location.href=="http://jr.jl.gov.cn/zxfw/zxzx/"){
//在线咨询
_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
clearInterval(_EsdDynamicTransformationScript.slidePointInterval);

var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"咨询人",title:"咨询人"});
$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"联系电话",title:"联系电话"});
$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"标题",title:"标题"});
$(inputIframe).find("#frmData textarea").attr({placeholder:"内容",title:"内容"});

$(inputIframe).find("#SubmitButton").attr("title","提交");
$(inputIframe).find("#ResetButton").attr("title","重置");

}
}, 500);
}

if(location.href=="http://jr.jl.gov.cn/zxfw/dczj/"){
//征集调查

_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
clearInterval(_EsdDynamicTransformationScript.slidePointInterval);

var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"您的姓名",title:"您的姓名"});
$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"联系方式",title:"联系方式"});
$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"标题",title:"标题"});
$(inputIframe).find("#frmData input:eq(3)").attr({placeholder:"时间",title:"时间"});
$(inputIframe).find("#frmData textarea").attr({placeholder:"内容",title:"内容"});

$(inputIframe).find("#SubmitButton").attr("title","提交");
$(inputIframe).find("#ResetButton").attr("title","重置");

}
}, 500);
}

if(location.href=="http://jr.jl.gov.cn/zxfw/jdts/"){
//监督投诉

_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
clearInterval(_EsdDynamicTransformationScript.slidePointInterval);

var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;

$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"姓名",title:"姓名"});
$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"联系电话",title:"联系电话"});
$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"标题",title:"标题"});
$(inputIframe).find("#frmData textarea").attr({placeholder:"内容",title:"内容"});

$(inputIframe).find("#SubmitButton").attr("title","提交");
$(inputIframe).find("#ResetButton").attr("title","重置");

}
}, 500);

}





/**
* 主页js
*/



if(location.href=="http://jr.jl.gov.cn/" || location.href=="http://jr.jl.gov.cn/index.html"){
//首页


//第二部分


//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num7 = $("#tabBox1 .tabCon:eq(0) div:eq(0) ul li").length-1;
_EsdDynamicTransformationScript.num8 = $("#tabBox1 .tabCon:eq(0) div:eq(1) ul li").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd2TagNum1 = $("#tabBox1 .tabTag li:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum2 = $("#tabBox1 .tabTag li:eq(1) a:eq(0)");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd2TagNum1Content1 = $("#tabBox1 .tabCon:eq(0) div:eq(0) ul li a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum2Content1 = $("#tabBox1 .tabCon:eq(0) div:eq(1) ul li a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd2TagNum1ContentN = $("#tabBox1 .tabCon:eq(0) div:eq(0) ul li a:eq("+_EsdDynamicTransformationScript.num7+")");
_EsdDynamicTransformationScript.esd2TagNum2ContentN = $("#tabBox1 .tabCon:eq(0) div:eq(0) ul li a:eq("+_EsdDynamicTransformationScript.num8+")");

//第一块
_EsdDynamicTransformationScript.esd2TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd2TagNum1.blur(function () {

$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd2TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd2TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd2TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd2TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd2TagNum1.mouseover();
_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd2TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

//第三部分

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num10 = $("#tabBox2 .tabCon:eq(0) div:eq(0) ul li").length-1;
_EsdDynamicTransformationScript.num11 = $("#tabBox2 .tabCon:eq(0) div:eq(1) ul li").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd3TagNum1 = $("#tabBox2 .tabTag li:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum2 = $("#tabBox2 .tabTag li:eq(1) a:eq(0)");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd3TagNum1Content1 = $("#tabBox2 .tabCon:eq(0) div:eq(0) ul li a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum2Content1 = $("#tabBox2 .tabCon:eq(0) div:eq(1) ul li a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd3TagNum1ContentN = $("#tabBox2 .tabCon:eq(0) div:eq(0) ul li a:eq("+_EsdDynamicTransformationScript.num10+")");
_EsdDynamicTransformationScript.esd3TagNum2ContentN = $("#tabBox2 .tabCon:eq(0) div:eq(0) ul li a:eq("+_EsdDynamicTransformationScript.num11+")");

//第一块
_EsdDynamicTransformationScript.esd3TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum1.blur(function () {

$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd3TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd3TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum1.mouseover();
_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

//第四部分

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num12 = $("#tabBox3 .tabCon:eq(0) div:eq(0) ul li").length-1;
_EsdDynamicTransformationScript.num13 = $("#tabBox3 .tabCon:eq(0) div:eq(1) ul li").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd4TagNum1 = $("#tabBox3 .tabTag li:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd4TagNum2 = $("#tabBox3 .tabTag li:eq(1) a:eq(0)");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd4TagNum1Content1 = $("#tabBox3 .tabCon:eq(0) div:eq(0) ul li a:eq(0)");
_EsdDynamicTransformationScript.esd4TagNum2Content1 = $("#tabBox3 .tabCon:eq(0) div:eq(1) ul li a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd4TagNum1ContentN = $("#tabBox3 .tabCon:eq(0) div:eq(0) ul li a:eq("+_EsdDynamicTransformationScript.num12+")");
_EsdDynamicTransformationScript.esd4TagNum2ContentN = $("#tabBox3 .tabCon:eq(0) div:eq(0) ul li a:eq("+_EsdDynamicTransformationScript.num13+")");

//第一块
_EsdDynamicTransformationScript.esd4TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd4TagNum1.blur(function () {

$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd4TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd4TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum1.mouseover();
_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd4TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

//第五部分


//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num14 = $("#tabBox4 .tabCon:eq(0) div:eq(0) ul li").length-1;
_EsdDynamicTransformationScript.num15 = $("#tabBox4 .tabCon:eq(0) div:eq(1) ul li").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd5TagNum1 = $("#tabBox4 .tabTag li:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd5TagNum2 = $("#tabBox4 .tabTag li:eq(1) a:eq(0)");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd5TagNum1Content1 = $("#tabBox4 .tabCon:eq(0) div:eq(0) ul li a:eq(0)");
_EsdDynamicTransformationScript.esd5TagNum2Content1 = $("#tabBox4 .tabCon:eq(0) div:eq(1) ul li a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd5TagNum1ContentN = $("#tabBox4 .tabCon:eq(0) div:eq(0) ul li a:eq("+_EsdDynamicTransformationScript.num14+")");
_EsdDynamicTransformationScript.esd5TagNum2ContentN = $("#tabBox4 .tabCon:eq(0) div:eq(0) ul li a:eq("+_EsdDynamicTransformationScript.num15+")");

//第一块
_EsdDynamicTransformationScript.esd5TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd5TagNum1.blur(function () {

$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd5TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd5TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd5TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd5TagNum1.mouseover();
_EsdDynamicTransformationScript.esd5TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd5TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

//第六部分


//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num16 = $("#tabBox5 .tabCon:eq(0) div:eq(0) ul li").length-1;
_EsdDynamicTransformationScript.num17 = $("#tabBox5 .tabCon:eq(0) div:eq(1) ul li").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd6TagNum1 = $("#tabBox5 .tabTag li:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd6TagNum2 = $("#tabBox5 .tabTag li:eq(1) a:eq(0)");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd6TagNum1Content1 = $("#tabBox5 .tabCon:eq(0) div:eq(0) ul li a:eq(0)");
_EsdDynamicTransformationScript.esd6TagNum2Content1 = $("#tabBox5 .tabCon:eq(0) div:eq(1) ul li a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd6TagNum1ContentN = $("#tabBox5 .tabCon:eq(0) div:eq(0) ul li a:eq("+_EsdDynamicTransformationScript.num16+")");
_EsdDynamicTransformationScript.esd6TagNum2ContentN = $("#tabBox5 .tabCon:eq(0) div:eq(0) ul li a:eq("+_EsdDynamicTransformationScript.num17+")");

//第一块
_EsdDynamicTransformationScript.esd6TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd6TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd6TagNum1.blur(function () {

$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd6TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd6TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd6TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd6TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd6TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd6TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd6TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd6TagNum1.mouseover();
_EsdDynamicTransformationScript.esd6TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd6TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd6TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

//第七部分

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num18 = $("#tabBox6 .tabCon:eq(0) div:eq(0) ul li").length-1;
_EsdDynamicTransformationScript.num19 = $("#tabBox6 .tabCon:eq(0) div:eq(1) ul li").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd7TagNum1 = $("#tabBox6 .tabTag li:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd7TagNum2 = $("#tabBox6 .tabTag li:eq(1) a:eq(0)");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd7TagNum1Content1 = $("#tabBox6 .tabCon:eq(0) div:eq(0) ul li a:eq(0)");
_EsdDynamicTransformationScript.esd7TagNum2Content1 = $("#tabBox6 .tabCon:eq(0) div:eq(1) ul li a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd7TagNum1ContentN = $("#tabBox6 .tabCon:eq(0) div:eq(0) ul li a:eq("+_EsdDynamicTransformationScript.num18+")");
_EsdDynamicTransformationScript.esd7TagNum2ContentN = $("#tabBox6 .tabCon:eq(0) div:eq(0) ul li a:eq("+_EsdDynamicTransformationScript.num19+")");

//第一块
_EsdDynamicTransformationScript.esd7TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd7TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd7TagNum1.blur(function () {

$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd7TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd7TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd7TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd7TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd7TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd7TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd7TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd7TagNum1.mouseover();
_EsdDynamicTransformationScript.esd7TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd7TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd7TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});


$(".jrb-w980 .jrb-w357 a:last").focus(function (e) {
$("#link_tab_t1").mouseover();
});



//第八部分

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num21 = $("#link_tab_c1 ul li").length-1;
_EsdDynamicTransformationScript.num22 = $("#link_tab_c2 ul li").length-1;
_EsdDynamicTransformationScript.num23 = $("#link_tab_c3 ul li").length-1;
_EsdDynamicTransformationScript.num24 = $("#link_tab_c4 ul li").length-1;
_EsdDynamicTransformationScript.num25 = $("#link_tab_c5 ul li").length-1;
_EsdDynamicTransformationScript.num26 = $("#link_tab_c6 ul li").length-1;
_EsdDynamicTransformationScript.num27 = $("#link_tab_c7 ul li").length-1;
_EsdDynamicTransformationScript.num28 = $("#link_tab_c8 ul li").length-1;
_EsdDynamicTransformationScript.num29 = $("#link_tab_c9 ul li").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd9TagNum1 = $("#link_tab_t1");
_EsdDynamicTransformationScript.esd9TagNum2 = $("#link_tab_t2");
_EsdDynamicTransformationScript.esd9TagNum3 = $("#link_tab_t3");
_EsdDynamicTransformationScript.esd9TagNum4 = $("#link_tab_t4");
_EsdDynamicTransformationScript.esd9TagNum5 = $("#link_tab_t5");
_EsdDynamicTransformationScript.esd9TagNum6 = $("#link_tab_t6");
_EsdDynamicTransformationScript.esd9TagNum7 = $("#link_tab_t7");
_EsdDynamicTransformationScript.esd9TagNum8 = $("#link_tab_t8");
_EsdDynamicTransformationScript.esd9TagNum9 = $("#link_tab_t9");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd9TagNum1Content1 = $("#link_tab_c1 ul li:eq(0) a");
_EsdDynamicTransformationScript.esd9TagNum2Content1 = $("#link_tab_c2 ul li:eq(0) a");
_EsdDynamicTransformationScript.esd9TagNum3Content1 = $("#link_tab_c3 ul li:eq(0) a");
_EsdDynamicTransformationScript.esd9TagNum4Content1 = $("#link_tab_c4 ul li:eq(0) a");
_EsdDynamicTransformationScript.esd9TagNum5Content1 = $("#link_tab_c5 ul li:eq(0) a");
_EsdDynamicTransformationScript.esd9TagNum6Content1 = $("#link_tab_c6 ul li:eq(0) a");
_EsdDynamicTransformationScript.esd9TagNum7Content1 = $("#link_tab_c7 ul li:eq(0) a");
_EsdDynamicTransformationScript.esd9TagNum8Content1 = $("#link_tab_c8 ul li:eq(0) a");
_EsdDynamicTransformationScript.esd9TagNum9Content1 = $("#link_tab_c9 ul li:eq(0) a");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd9TagNum1ContentN = $("#link_tab_c1 ul li:eq("+_EsdDynamicTransformationScript.num21+") a");
_EsdDynamicTransformationScript.esd9TagNum2ContentN = $("#link_tab_c2 ul li:eq("+_EsdDynamicTransformationScript.num22+") a");
_EsdDynamicTransformationScript.esd9TagNum3ContentN = $("#link_tab_c3 ul li:eq("+_EsdDynamicTransformationScript.num23+") a");
_EsdDynamicTransformationScript.esd9TagNum4ContentN = $("#link_tab_c4 ul li:eq("+_EsdDynamicTransformationScript.num24+") a");
_EsdDynamicTransformationScript.esd9TagNum5ContentN = $("#link_tab_c5 ul li:eq("+_EsdDynamicTransformationScript.num25+") a");
_EsdDynamicTransformationScript.esd9TagNum6ContentN = $("#link_tab_c6 ul li:eq("+_EsdDynamicTransformationScript.num26+") a");
_EsdDynamicTransformationScript.esd9TagNum7ContentN = $("#link_tab_c7 ul li:eq("+_EsdDynamicTransformationScript.num27+") a");
_EsdDynamicTransformationScript.esd9TagNum8ContentN = $("#link_tab_c8 ul li:eq("+_EsdDynamicTransformationScript.num28+") a");
_EsdDynamicTransformationScript.esd9TagNum9ContentN = $("#link_tab_c9 ul li:eq("+_EsdDynamicTransformationScript.num29+") a");

//第一块

_EsdDynamicTransformationScript.esd9TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {

}
});
});
_EsdDynamicTransformationScript.esd9TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd9TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum2.mouseover();
_EsdDynamicTransformationScript.esd9TagNum2Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd9TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});
//第二块
_EsdDynamicTransformationScript.esd9TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum1.mouseover();
_EsdDynamicTransformationScript.esd9TagNum1ContentN.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd9TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown_s2");
});

_EsdDynamicTransformationScript.esd9TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum3.mouseover();
_EsdDynamicTransformationScript.esd9TagNum3Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd9TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown_e2");
});

//第三块
_EsdDynamicTransformationScript.esd9TagNum3Content1.focus(function () {
$(this).bind("keydown.keydown_s3", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum2.mouseover();
_EsdDynamicTransformationScript.esd9TagNum2ContentN.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd9TagNum3Content1.blur(function () {
$(this).unbind("keydown.keydown_s3");
});

_EsdDynamicTransformationScript.esd9TagNum3ContentN.focus(function () {
$(this).bind("keydown.keydown_e3", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum4.mouseover();
_EsdDynamicTransformationScript.esd9TagNum4Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd9TagNum3ContentN.blur(function () {
$(this).unbind("keydown.keydown_e3");
});

//第四块
_EsdDynamicTransformationScript.esd9TagNum4Content1.focus(function () {
$(this).bind("keydown.keydown_s4", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum3.mouseover();
_EsdDynamicTransformationScript.esd9TagNum3ContentN.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd9TagNum4Content1.blur(function () {
$(this).unbind("keydown.keydown_s4");
});

_EsdDynamicTransformationScript.esd9TagNum4ContentN.focus(function () {
$(this).bind("keydown.keydown_e4", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum5.mouseover();
_EsdDynamicTransformationScript.esd9TagNum5Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd9TagNum4ContentN.blur(function () {
$(this).unbind("keydown.keydown_e4");
});

//第五块
_EsdDynamicTransformationScript.esd9TagNum5Content1.focus(function () {
$(this).bind("keydown.keydown_s5", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum4.mouseover();
_EsdDynamicTransformationScript.esd9TagNum4ContentN.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd9TagNum5Content1.blur(function () {
$(this).unbind("keydown.keydown_s5");
});

_EsdDynamicTransformationScript.esd9TagNum5ContentN.focus(function () {
$(this).bind("keydown.keydown_e5", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum6.mouseover();
_EsdDynamicTransformationScript.esd9TagNum6Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd9TagNum5ContentN.blur(function () {
$(this).unbind("keydown.keydown_e5");
});


//第六块
_EsdDynamicTransformationScript.esd9TagNum6Content1.focus(function () {
$(this).bind("keydown.keydown_s6", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum5.mouseover();
_EsdDynamicTransformationScript.esd9TagNum5ContentN.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd9TagNum6Content1.blur(function () {
$(this).unbind("keydown.keydown_s6");
});

_EsdDynamicTransformationScript.esd9TagNum6ContentN.focus(function () {
$(this).bind("keydown.keydown_e6", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum7.mouseover();
_EsdDynamicTransformationScript.esd9TagNum7Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd9TagNum6ContentN.blur(function () {
$(this).unbind("keydown.keydown_e6");
});

//第七块
_EsdDynamicTransformationScript.esd9TagNum7Content1.focus(function () {
$(this).bind("keydown.keydown_s7", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum6.mouseover();
_EsdDynamicTransformationScript.esd9TagNum6ContentN.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd9TagNum7Content1.blur(function () {
$(this).unbind("keydown.keydown_s7");
});

_EsdDynamicTransformationScript.esd9TagNum7ContentN.focus(function () {
$(this).bind("keydown.keydown_e7", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum8.mouseover();
_EsdDynamicTransformationScript.esd9TagNum8Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd9TagNum7ContentN.blur(function () {
$(this).unbind("keydown.keydown_e7");
});

//第八块
_EsdDynamicTransformationScript.esd9TagNum8Content1.focus(function () {
$(this).bind("keydown.keydown_s8", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum7.mouseover();
_EsdDynamicTransformationScript.esd9TagNum7ContentN.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd9TagNum8Content1.blur(function () {
$(this).unbind("keydown.keydown_s8");
});

_EsdDynamicTransformationScript.esd9TagNum8ContentN.focus(function () {
$(this).bind("keydown.keydown_e8", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd9TagNum9.mouseover();
_EsdDynamicTransformationScript.esd9TagNum9Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd9TagNum8ContentN.blur(function () {
$(this).unbind("keydown.keydown_e8");
});


//第九块
_EsdDynamicTransformationScript.esd9TagNum9Content1.focus(function (e) {
//		e = $(this).mouseover();
$(this).bind("keydown.keydown_9", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd9TagNum8.mouseover();
_EsdDynamicTransformationScript.esd9TagNum8ContentN.focus();
return false;
}else if (e.keyCode == 9) {
}
});

});
_EsdDynamicTransformationScript.esd9TagNum9Content1.blur(function () {
$(this).unbind("keydown.keydown_9");
});




// 将iframe所包含的a链接数 第一个a元素 最后一个a元素赋值给第一个参数的js对象
_EsdDynamicTransformationScript.getIframeInfos = function(jsObj,iframeObj){
jsObj.aLink_num = iframeObj.contentWindow.document.getElementsByTagName("a").length;
jsObj.first_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[0];
jsObj.last_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[jsObj.aLink_num-1];
jsObj.self = iframeObj;
};

// 声明iframe操作对象
_EsdDynamicTransformationScript.iframe1 = {};
_EsdDynamicTransformationScript.iframe2 = {};

//通过方法赋值
_EsdDynamicTransformationScript.iframeElement1 = document.getElementsByTagName("iframe")[0];   // 需要修改 这里的iframe获取
_EsdDynamicTransformationScript.iframeElement2 = document.getElementsByTagName("iframe")[1];   // 需要修改 这里的iframe获取


//选项卡标签 jquery对象
_EsdDynamicTransformationScript.iframeTab1 = $("#tab2_t1 a");  // 需要修改 这里的tab获取
_EsdDynamicTransformationScript.iframeTab2 = $("#tab2_t2 a");  // 需要修改 这里的tab获取


// 判断iframe是否有效
if((_EsdDynamicTransformationScript.iframeElement1!=undefined) && (_EsdDynamicTransformationScript.iframeElement2!=undefined)){

// 当iframe都加载完毕后执行代码 使用setInterval
_EsdDynamicTransformationScript.iframeInterval = setInterval(function(){

if((_EsdDynamicTransformationScript.iframeElement1.contentWindow.document.getElementsByTagName("a")[0]!=undefined)
&& (_EsdDynamicTransformationScript.iframeElement2.contentWindow.document.getElementsByTagName("a")[0]!=undefined) ){
clearInterval(_EsdDynamicTransformationScript.iframeInterval);

//通过方法赋值
_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe1,_EsdDynamicTransformationScript.iframeElement1);
_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe2,_EsdDynamicTransformationScript.iframeElement2);


//第一个标签 切换
_EsdDynamicTransformationScript.iframeTab1.focus(function (e) {
//			e = $(this).mouseover();
$(this).bind("keydown.iframeKeydown_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
//					$(this).trigger("blur");
$("#tabBox5 .tabCon:eq(0) div:eq(1) ul li a:eq(5)").focus();
return false;
} else if (e.keyCode == 9) {
$(this).trigger("blur");
$(_EsdDynamicTransformationScript.iframe1.self).focus();
return false;
}
});
});
_EsdDynamicTransformationScript.iframeTab1.blur(function () {
$(this).unbind("keydown.iframeKeydown_1");
});

// 第一个标签的第一个链接
$(_EsdDynamicTransformationScript.iframe1.first_aLink).focus(function () {
$(this).bind("keydown.iframeKeydown_first1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
$(this).trigger("blur");
_EsdDynamicTransformationScript.iframeTab1.focus();
return false;
} else if (e.keyCode == 9) {
}
});
});
$(_EsdDynamicTransformationScript.iframe1.first_aLink).blur(function () {
$(this).unbind("keydown.iframeKeydown_first1");
});

// 第一个标签的最后一个链接
$(_EsdDynamicTransformationScript.iframe1.last_aLink).focus(function () {
$(this).bind("keydown.iframeKeydown_first1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
} else if (e.keyCode == 9) {
$(this).trigger("blur");
_EsdDynamicTransformationScript.iframeTab2.focus();
return false;
}
});
});
$(_EsdDynamicTransformationScript.iframe1.last_aLink).blur(function () {
$(this).unbind("keydown.iframeKeydown_first1");
});


//第二个标签切换
_EsdDynamicTransformationScript.iframeTab2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.iframeKeydown_2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
$(this).trigger("blur");
_EsdDynamicTransformationScript.iframeTab1.mouseover();
$(_EsdDynamicTransformationScript.iframe1.last_aLink).focus();
return false;
} else if (e.keyCode == 9) {
$(this).trigger("blur");
$(_EsdDynamicTransformationScript.iframe2.self).focus();
return false;
}
});

});
_EsdDynamicTransformationScript.iframeTab2.blur(function () {
$(this).unbind("keydown.iframeKeydown_2");
});

}

}, 500);

}



//首页结束
}










/**
* 共通底部处理
*/
/**
* 文本链接 a
*/
//	_EsdDynamicTransformationScript.navBlock = {}; //定义区域跳转类
//	_EsdDynamicTransformationScript.navBlock.debug = true; //是否是调试模式，调试模式有红边线，非调试模式关闭红边框
//	//定义跳转 使用jquery选择器语法
//	_EsdDynamicTransformationScript.navBlock.selector = {};


if(location.href=="http://jr.jl.gov.cn/" || location.href=="http://jr.jl.gov.cn/index.html"){
//首页
//主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
$("table:first").attr("id","header");
_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
$("table:first .wang-header-top3").attr("id","nav");
_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
$("#link_tab_c9").next().attr("id","footer");
_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
$("#wang-contents .wang-cent").attr("id","main");
_EsdDynamicTransformationScript.navBlock.selector.main = "#main";

_EsdDynamicTransformationScript.navBlock.selector.left = "#left";

_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
$("#wang-contents .main .wang-left-top1-lef").addClass("navBlock");
$("#wang-contents .main .wang-left-top1-rig").addClass("navBlock");
$("#wang-contents .main .wang-left-top2:eq(0)").addClass("navBlock");
$("#tabBox2").addClass("navBlock");
$("#tabBox3").addClass("navBlock");
$("#tabBox4").addClass("navBlock");
$("#tabBox5").addClass("navBlock");
$("#wang-contents .main .wang-left-top3 .wang-rig1 .wang-rig1-a").addClass("navBlock");
$("#wang-contents .main .wang-left-top3 .wang-rig1 .wang-menu").addClass("navBlock");
$("#wang-contents .main .wang-left-top2:eq(1)").addClass("navBlock");
$("#wang-contents .main .jrb-w980").addClass("navBlock");
$("#wang-footer").addClass("navBlock");


_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个


}

if(location.href=="http://jr.jl.gov.cn/jggk/gkxx/" || location.href=="http://jr.jl.gov.cn/zwdt/" || location.href=="http://jr.jl.gov.cn/jrzx/" || location.href=="http://jr.jl.gov.cn/jrzc/" || location.href=="http://jr.jl.gov.cn/dfjr_142775/" || location.href=="http://jr.jl.gov.cn/jrsj/" || location.href=="http://jr.jl.gov.cn/jrzt/" || location.href=="http://jr.jl.gov.cn/zxfw/ldxx/"){
//导航的二级页
//主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
$("body>table:eq(0)").attr("id","header");
_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
$("body>table:eq(0) .wang-header-top3").attr("id","nav");
_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
$("#_trs_ta_js").prev().attr("id","footer");
_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
$(".content").attr("id","main");
_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
$(".content .content_lj_l").attr("id","left");
_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
$(".content .content_lj_r").attr("id","right");
_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
$(".content .position").addClass("navBlock");
$(".content .content_lj").addClass("navBlock");
$(".content .content_lj_l").addClass("navBlock");
$(".content .content_lj_r").addClass("navBlock");
_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个

}


if(location.href=="http://jr.jl.gov.cn/zxfw/ldxx/" || location.href=="http://jr.jl.gov.cn/zxfw/zxzx/" || location.href=="http://jr.jl.gov.cn/zxfw/dczj/" || location.href=="http://jr.jl.gov.cn/zxfw/jdts/"){
//领导信箱-在线咨询-征集调查-监督投诉
//主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
$("body>table:eq(0)").attr("id","header");
_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
$("body>table:eq(0) .wang-header-top3").attr("id","nav");
_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
$("#_trs_ta_js").prev().attr("id","footer");
_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
$(".content").attr("id","main");
_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
_EsdDynamicTransformationScript.navBlock.selector.right = "#right";
_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
$(".content>div").addClass("navBlock");
_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个

}


//有面包屑导航的，非首页
if( $(".CurrChnlCls").length > 0 ){
$("body>table:eq(0)").attr("id","header");
_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
$("body>table:eq(0) .wang-header-top3").attr("id","nav");
_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
$("#_trs_ta_js").prev().attr("id","footer");
_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
$(".content").attr("id","main");
_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
$(".TRS_Editor").attr("id","content");
_EsdDynamicTransformationScript.navBlock.selector.content = "#content";

$("body>table:eq(0)").addClass("navBlock");
$("body>table:eq(0) .wang-header-top3").addClass("navBlock");
$("#_trs_ta_js").prev().addClass("navBlock");
$(".content").addClass("navBlock");
$(".TRS_Editor").addClass("navBlock");

_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个
}




/**
* 区域导航、调试开关
*/

$(document).bind("keydown.keydown_9001", function(e) {
if (e.shiftKey && e.keyCode == 20) {
$("*").focus(function() {
$(this).css({
"outline" : "2px dashed red"
});
});
$("*").blur(function() {
$(this).css({
"outline" : "0px black"
});
});
}
});

_EsdDynamicTransformationScript.navBlock.debug = true; // 是否是调试模式，调试模式有红边线，非调试模式关闭红边框
_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
// 快捷键定义区
//_EsdDynamicTransformationScript.navBlock.key = {};

//_EsdDynamicTransformationScript.navBlock.key.top = "alt+1"; // (top)
//_EsdDynamicTransformationScript.navBlock.key.nav = "alt+2"; // (nav)
//_EsdDynamicTransformationScript.navBlock.key.main = "alt+3"; // (main)
//_EsdDynamicTransformationScript.navBlock.key.content = "alt+4"; // (content)
//_EsdDynamicTransformationScript.navBlock.key.left = "alt+5"; // (left)
//_EsdDynamicTransformationScript.navBlock.key.right = "alt+6"; // (right)
//_EsdDynamicTransformationScript.navBlock.key.footer = "alt+7"; // (footer)
//_EsdDynamicTransformationScript.navBlock.key.down = "alt+8"; // (down)
//_EsdDynamicTransformationScript.navBlock.key.up = "alt+9"; // (up);

// 以下变量主要用于区块跳转
_EsdDynamicTransformationScript.navBlock.sIndex = -1; // 当前栏目下标
_EsdDynamicTransformationScript.navBlock.maxIndex = -1; // 保存目前所有class="navBlock"的区域块总数量，栏目总量下标。
_EsdDynamicTransformationScript.navBlock.minIndex = 0; // 栏目数量起始下标

// 主要代码区域

// 导航跳转
_EsdDynamicTransformationScript.navBlock.keyShowSelect = function(i) {
$(_EsdDynamicTransformationScript.navBlock.selector.activate).each(function(index, el) {
if (i == index) {
_EsdDynamicTransformationScript.navBlock.debugView(el);
$(el).find("a").each(function(i, e) {
if (i == 0) {
$(e).focus();
}
});

}
});
}

// 获取所有class=navBlock的区域的总数量，初始化轮训所有需要跳转的块
$(_EsdDynamicTransformationScript.navBlock.selector.activate).each(function(index, ehx) {
_EsdDynamicTransformationScript.navBlock.maxIndex++;
});



// 快捷键功能区域
// 跳转到头部alt+1(49)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 49) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.top);
}

});
// 跳转到导航alt+2(50)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 50) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.nav);
}

});
// 跳转到主要区域alt+3(51)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 51) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.main);
}
});

// 跳转到正文区域alt+4(52)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 52) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.content);
}
});

// 跳转到左区域alt+5(53)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 53) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.left);
}
});

// 跳转到右区域alt+6(54)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 54) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.right);
}
});
// 跳转到底部alt+7(55)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 55) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.footer);
}
});
//前进alt+8(56)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 56) {
if (_EsdDynamicTransformationScript.navBlock.sIndex < _EsdDynamicTransformationScript.navBlock.maxIndex) {
_EsdDynamicTransformationScript.navBlock.sIndex++;
_EsdDynamicTransformationScript.navBlock.keyShowSelect(_EsdDynamicTransformationScript.navBlock.sIndex);
}
}
});

// 后退alt+9(57)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 57) {
if (_EsdDynamicTransformationScript.navBlock.sIndex > _EsdDynamicTransformationScript.navBlock.minIndex) {
_EsdDynamicTransformationScript.navBlock.sIndex--;
_EsdDynamicTransformationScript.navBlock.keyShowSelect(_EsdDynamicTransformationScript.navBlock.sIndex);
}
}
});
// 特定区域跳转
_EsdDynamicTransformationScript.navBlock.keySelectScroll = function(id) {
if ($(id).length > 0) {
_EsdDynamicTransformationScript.navBlock.appendIns(id,true);//插入ins
_EsdDynamicTransformationScript.navBlock.debugView(id);
$(id).find("a").each(function(index) {
if (index == 0) {
$(this).focus();
}
});
_EsdDynamicTransformationScript.navBlock.appendIns(id,false);//清楚ins
} else {
}

}
//为了解决漂浮高等于0的情况下区域显示是一条线
_EsdDynamicTransformationScript.navBlock.appendIns=function(id,b){
if(b==true){
$(id).append("<ins id='esdNavBlockIns' style='clear: both;display: block;'></ins>")
}else{
$("#esdNavBlockIns").remove();
}
}

if (_EsdDynamicTransformationScript.navBlock.debug == true) {
// 如果开启调试模式，添加调试绘制矩形边线
$("body").append("<div id='show_top' class='lineshow'></div>");
$("body").append("<div id='show_bottom' class='lineshow'></div>");
$("body").append("<div id='show_left' class='lineshow'></div>");
$("body").append("<div id='show_right' class='lineshow'></div>");
$(".lineshow").css({
"display" : "none"
});
}
// 开启调试模式后会显示红边
_EsdDynamicTransformationScript.navBlock.debugView = function(e) {
if (_EsdDynamicTransformationScript.navBlock.debug == true) {
var x = $(e).offset();
//var w = parseInt($(e).css("width"));
var w = $(e).outerWidth();//返回元素的宽度（包含 padding 和 border）
//var h = parseInt($(e).css("height"));
var h = $(e).outerHeight();//返回元素的高度（包含 padding 和 border）
$("#show_top").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top,
"left" : x.left,
"width" : w,
"height" : "0px"
});
$("#show_bottom").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top + h,
"left" : x.left,
"width" : w,
"height" : "0px"
});
$("#show_left").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top,
"left" : x.left,
"width" : "0px",
"height" : h
});
$("#show_right").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top,
"left" : x.left + w,
"width" : "0px",
"height" : h
});
$("html,body").animate({
scrollTop : $("#show_top").offset().top
}, 200);
$(".lineshow").css({
"display" : "block"
});
}
}
};
/**
* 主入口方法
*/

if (window.jQuery == undefined) {
var wzaInitInterval = setInterval(function(){
if(document.body!=null){
clearInterval(wzaInitInterval);
//			var originalWindowOnload = null;
//			if(window.onload!=null){
//				originalWindowOnload = window.onload;
//			}
document.body.onload = function(){
//				originalWindowOnload();
var esdJquery = document.createElement("script");
esdJquery.setAttribute("type", "text/javascript");
esdJquery.setAttribute("src", window.location.protocol + "//" + window.location.href.split("/")[2] + "/wza/bwscript/jquery-1.12.4.min.js");
esdJquery.setAttribute("charset", "utf-8");
esdJquery.setAttribute("id", "ESDWebAppInnerIframe");
document.body.appendChild(esdJquery);
var jqueryLoadInterval = setInterval(function () {
if (window.jQuery != undefined) {
clearInterval(jqueryLoadInterval);
setTimeout( _EsdDynamicTransformationFunction(jQuery) , 1000 );
//						_EsdDynamicTransformationFunction(jQuery)
}
}, 500);
};
}
}, 10);
} else {
jQuery(function(){
setTimeout( _EsdDynamicTransformationFunction(jQuery) , 1000 );
//		_EsdDynamicTransformationFunction(jQuery)
})

}
